<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>新闻列表</title>
  <style>
    /* 基础样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f9f9f9;
}

/* 新闻容器 */
.news-container {
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 新闻标题 */
.news-header {
  border-bottom: 2px solid orange;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.news-header h3 {
  font-size: 18px;
  margin: 0;
  color: #333333;
}

/* 新闻列表 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.news-list li img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.news-list li a {
  text-decoration: none;
  color: #555555;
  font-size: 14px;
}

.news-list li a:hover {
  color: orange;
}

  </style>
</head>
<body>
  <div class="news-container">
    <div class="news-header">
      <h3>新闻</h3>
    </div>
    <ul class="news-list">
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">点赞“带农人”，温暖的双手</a>
      </li>
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">在希望的田野上...</a>
      </li>
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">“中国天眼”又有新发现，已在《自然》杂志发表</a>
      </li>
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">急！这个领域缺人！月薪4万还招不到？啥情况？</a>
      </li>
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">G9“带货”背后：写损面持续扩大，竞争环境激烈</a>
      </li>
      <li>
        <img src="./images/img.gif" alt="新闻图标">
        <a href="#">多地力推二手房“带押过户”，有什么好处？</a>
      </li>
    </ul>
  </div>
</body>
</html>
